* {
    margin: 0;
    padding: 0;
}

#sketch {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    font-size: 1rem;
    background-color: #777;
}

#sketch>* {
    position: absolute;
}

#sketch>canvas {
    top: 3em;
    background-color: #EEE;
}


/*
#sketch canvas.pen:hover{
cursor:e-resize;
}*/

#sketch .toolBar {
    width: 100%;
    font-size: 1em;
    height: 3em;
    padding: 0.5em;
    background-color: #DDD;
    box-sizing: border-box;
}

.toolBar * {
    display: block;
    font-size: inherit;
    cursor: pointer;
    float: left;
    margin-right: 0.5em;
}


.toolBar input.colorPicker {
    height: 2em;
    width: 2em;
    border: none;
    outline: none;
    background-color: transparent;
}

.toolBar input.widthPicker {
    width: 5em;
}

.toolBar .iconfont {
    font-size: 1.25em;
    height: 1.6em;
    width: 1.2em;
    line-height: 1.6em;
    transition: all 0.3s;
}

.toolBar .iconfont.modePicker {
    float: right;
    margin-left: 0.5em;
    margin-right: 0;
}

.toolBar .modePicker.active {
    color: #2d89ef;
}


/****** custom input range */

input[type=range] {
    -webkit-appearance: none;
    height: 2em;
    width: 10em;
    background-color: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 1px solid #000000;
    height: 1.5em;
    width: 1em;
    margin-top: -0.5em;
    border-radius: 0.5em;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5em;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #FFF;
    border-radius: 0.5em;
    border: 1px solid #010101;
}